• Test root initialization

    18:58:59 PM / 00:00:00:000 Pass

    Test root initialization
    05.07.2024 18:58:59 05.07.2024 18:58:59 00:00:00:000 · #test-id=1
    StatusTimestampDetails
    Pass 6:58:59 PM [Set Var] value = "topic/device1/in", var_name = "in-topic"
    The following value has been stored in a variable named [in-topic]: 'topic/device1/in'
    Pass 6:58:59 PM [Create Mqtt Broker] port = 1883, name = "broker-1"
    The module with name 'broker-1' is running.
    Pass 6:59:00 PM [Wait] 800
    Pass 6:59:00 PM [Create Mqtt Client] name = "client-1", broker_url = "tcp://localhost:1883"
    The module with name 'client-1' is running.
    Pass 6:59:01 PM [Wait] 800
  • Test suite 'Testování přijímání zpráv vlhkosti půdy' initialization

    18:58:59 PM / 00:00:00:000 Pass

    Test suite 'Testování přijímání zpráv vlhkosti půdy' initialization
    05.07.2024 18:58:59 05.07.2024 18:58:59 00:00:00:000 · #test-id=2
    Testovánípřijímánízprávvlhkostipůdy
    StatusTimestampDetails
    Pass 6:59:01 PM [Create Filter Action] mode = "contains", case_sensitive = false, name = "client-1", text = "humidity;"
  • Test suite 'Testování řízení závlahy' initialization

    18:58:59 PM / 00:00:00:000 Pass

    Test suite 'Testování řízení závlahy' initialization
    05.07.2024 18:58:59 05.07.2024 18:58:59 00:00:00:000 · #test-id=3
    Testovánířízenízávlahy
    StatusTimestampDetails
    Pass 6:59:20 PM [Create Filter Action] mode = "contains", case_sensitive = false, name = "client-1", text = "status;"
  • Test suite 'Testování chybových zpráv' initialization

    18:58:59 PM / 00:00:00:000 Pass

    Test suite 'Testování chybových zpráv' initialization
    05.07.2024 18:58:59 05.07.2024 18:58:59 00:00:00:000 · #test-id=4
    Testováníchybovýchzpráv
    StatusTimestampDetails
    Pass 7:00:01 PM [Create Filter Action] mode = "contains", case_sensitive = false, name = "client-1", text = "fault;"
  • Test automaticky odesílaných zpráv

    18:58:59 PM / 00:00:00:000 Pass

    Test automaticky odesílaných zpráv
    05.07.2024 18:58:59 05.07.2024 18:58:59 00:00:00:000 · #test-id=5
    Testovánípřijímánízprávvlhkostipůdy
    V tomto testovacím případě bude testováno, zda v definovaných 10-ti sekundových intervalech přichází automaticky zpráva z naměřenou urovní vlhkosti půdy.
    StatusTimestampDetails
    Pass 6:59:01 PM [Run App Later] delay = 1500, command = "java -jar app/build/libs/app-all.jar 2493434934 0.1 0.1"
    Pass 6:59:04 PM [Wait Until] module_name = "client-1", time_out = 5000
    Action was invoked. Elapsed time: 2878 ms
    Pass 6:59:14 PM [Wait Until] module_name = "client-1", time_out = 11000
    Action was invoked. Elapsed time: 10047 ms
  • Test vyžádání odesílání zprávy

    18:58:59 PM / 00:00:00:000 Pass

    Test vyžádání odesílání zprávy
    05.07.2024 18:58:59 05.07.2024 18:58:59 00:00:00:000 · #test-id=6
    Testovánípřijímánízprávvlhkostipůdy
    V tomto testovacím případě bude testováno, zda na vyžádání testovaný klient odešle hodnotu vlhkosti půdy.
    StatusTimestampDetails
    Pass 6:59:15 PM [Run App Later] delay = 1500, command = "java -jar app/build/libs/app-all.jar 2493434934 0.1 0.1"
    Pass 6:59:18 PM [Wait Until] module_name = "client-1", time_out = 5000
    Action was invoked. Elapsed time: 2965 ms
    Pass 6:59:18 PM [Module Send] name = "client-1", message = "$in-topic:get-humidity"
    Message was successfully sent by module 'client-1'. Message content:
    topic/device1/in:get-humidity
    Pass 6:59:19 PM [Wait Until] module_name = "client-1", time_out = 5000
    Action was invoked. Elapsed time: 1001 ms
    Pass 6:59:19 PM [Count And Store] module_name = "client-1", var_name = "var-1"
    The following value has been stored in a variable named [var-1]: '2'
    Pass 6:59:19 PM [Assert Equals] value = 2.0, var_name = "var-1"
    Assertion succeeded. True was expected as the result. Condition: (Expected value '2.000000' must be same as the value of the variable '2')
  • Test získaní stavu zavlažování

    18:58:59 PM / 00:00:00:000 Pass

    Test získaní stavu zavlažování
    05.07.2024 18:58:59 05.07.2024 18:58:59 00:00:00:000 · #test-id=7
    Testovánířízenízávlahy
    Bude ověřováno, zda testovaný klient reaguje na zpravy pro získaní aktuálního stavu zavlažování.
    StatusTimestampDetails
    Pass 6:59:20 PM [Run App] java -jar app/build/libs/app-all.jar 2493434934 0.1 0.1
    Pass 6:59:21 PM [Wait] 1000
    Pass 6:59:21 PM [Module Send] name = "client-1", message = "$in-topic:get-status"
    Message was successfully sent by module 'client-1'. Message content:
    topic/device1/in:get-status
    Pass 6:59:22 PM [Wait Until] module_name = "client-1", time_out = 5000
    Action was invoked. Elapsed time: 803 ms
    Pass 6:59:22 PM [Assert String] mode = "contains", result = true, expected = "status;irrigation_off", case_sensitive = false, var_name = "client-1-action-msg"
    Assertion succeeded. True was expected as the result. Condition: (Value of variable 'status;irrigation_off' must contains expected text 'status;irrigation_off')
  • Test řízení zavlažování

    18:58:59 PM / 00:00:00:000 Pass

    Test řízení zavlažování
    05.07.2024 18:58:59 05.07.2024 18:58:59 00:00:00:000 · #test-id=8
    Testovánířízenízávlahy
    Bude ověřováno, zda testovaný klient reaguje na zprávy pro řízení zavlažování.
    StatusTimestampDetails
    Pass 6:59:23 PM [Run App] java -jar app/build/libs/app-all.jar 2493434934 0.1 0.1
    Pass 6:59:24 PM [Wait] 1000
    Pass 6:59:24 PM [Module Send] delay = 200, name = "client-1", message = "$in-topic:start-irrigation"
    Message was successfully sent by module 'client-1'. Message content:
    topic/device1/in:start-irrigation
    Pass 6:59:25 PM [Wait Until] module_name = "client-1", time_out = 5000
    Action was invoked. Elapsed time: 954 ms
    Pass 6:59:25 PM [Assert String] mode = "contains", result = true, expected = "status;irrigation_on", case_sensitive = false, var_name = "client-1-action-msg"
    Assertion succeeded. True was expected as the result. Condition: (Value of variable 'status;irrigation_on' must contains expected text 'status;irrigation_on')
    Pass 6:59:25 PM [Module Send] delay = 200, name = "client-1", message = "$in-topic:stop-irrigation"
    Message was successfully sent by module 'client-1'. Message content:
    topic/device1/in:stop-irrigation
    Pass 6:59:26 PM [Wait Until] module_name = "client-1", time_out = 5000
    Action was invoked. Elapsed time: 1003 ms
    Pass 6:59:26 PM [Assert String] mode = "contains", result = true, expected = "status;irrigation_off", case_sensitive = false, var_name = "client-1-action-msg"
    Assertion succeeded. True was expected as the result. Condition: (Value of variable 'status;irrigation_off' must contains expected text 'status;irrigation_off')
  • Test automatického zastavení zavlažování

    18:58:59 PM / 00:00:00:000 Pass

    Test automatického zastavení zavlažování
    05.07.2024 18:58:59 05.07.2024 18:58:59 00:00:00:000 · #test-id=9
    Testovánířízenízávlahy
    Bude testováno, zda testovaný klient automaticky zastaví zavlažování po 30 sekundách od poslední přijaté zprávy pro zahájení zavlažování.
    StatusTimestampDetails
    Pass 6:59:27 PM [Run App] java -jar app/build/libs/app-all.jar 2493434934 0.1 0.1
    Pass 6:59:28 PM [Wait] 1000
    Pass 6:59:28 PM [Module Send] delay = 200, name = "client-1", message = "$in-topic:start-irrigation"
    Message was successfully sent by module 'client-1'. Message content:
    topic/device1/in:start-irrigation
    Pass 6:59:29 PM [Wait Until] module_name = "client-1", time_out = 5000
    Action was invoked. Elapsed time: 958 ms
    Pass 6:59:29 PM [Assert String] mode = "contains", result = true, expected = "status;irrigation_on", case_sensitive = false, var_name = "client-1-action-msg"
    Assertion succeeded. True was expected as the result. Condition: (Value of variable 'status;irrigation_on' must contains expected text 'status;irrigation_on')
    Pass 7:00:00 PM [Wait Until] module_name = "client-1", time_out = 34000
    Action was invoked. Elapsed time: 31138 ms
    Pass 7:00:00 PM [Assert String] mode = "contains", result = true, expected = "status;irrigation_off", case_sensitive = false, var_name = "client-1-action-msg"
    Assertion succeeded. True was expected as the result. Condition: (Value of variable 'status;irrigation_off' must contains expected text 'status;irrigation_off')
  • Test odeslání chybové hlášky čidla

    18:58:59 PM / 00:00:00:000 Pass

    Test odeslání chybové hlášky čidla
    05.07.2024 18:58:59 05.07.2024 18:58:59 00:00:00:000 · #test-id=10
    Testováníchybovýchzpráv
    Bude testováno, zda dojde k automatickému odeslání chybové hlašky při poruše čidla vlhkosti. Parametry pro simulaci v testované aplikaci jsou nastaveny tak, aby k chybě došlo co nejdříve.
    StatusTimestampDetails
    Pass 7:00:01 PM [Run App Later] delay = 1500, command = "java -jar app/build/libs/app-all.jar 2493434934 0.98 0.98"
    Pass 7:00:04 PM [Wait Until] module_name = "client-1", time_out = 10000
    Action was invoked. Elapsed time: 2813 ms
    Pass 7:00:04 PM [Assert String] mode = "contains", expected = "fault;HUMIDITY_SENSOR", case_sensitive = false, var_name = "client-1-action-msg"
    Assertion succeeded. True was expected as the result. Condition: (Value of variable 'fault;HUMIDITY_SENSOR' must contains expected text 'fault;HUMIDITY_SENSOR')
  • Test odeslání chybové hlášky zalažování

    18:58:59 PM / 00:00:00:000 Pass

    Test odeslání chybové hlášky zalažování
    05.07.2024 18:58:59 05.07.2024 18:58:59 00:00:00:000 · #test-id=11
    Testováníchybovýchzpráv
    Bude testováno, zda dojde k automatickému odeslání chybové hlašky při poruše zalažování. Parametry pro simulaci v testované aplikaci jsou nastaveny tak, aby k chybě došlo co nejdříve.
    StatusTimestampDetails
    Pass 7:00:05 PM [Run App] java -jar app/build/libs/app-all.jar 2493434934 0.95 0.95
    Pass 7:00:07 PM [Wait] 2000
    Pass 7:00:07 PM [Module Send] delay = 200, name = "client-1", message = "$in-topic:start-irrigation"
    Message was successfully sent by module 'client-1'. Message content:
    topic/device1/in:start-irrigation
    Pass 7:00:08 PM [Wait Until] module_name = "client-1", time_out = 10000
    Action was invoked. Elapsed time: 960 ms
    Pass 7:00:08 PM [Assert String] mode = "contains", expected = "fault;IRRIGATION_SYSTEM", case_sensitive = false, var_name = "client-1-action-msg"
    Assertion succeeded. True was expected as the result. Condition: (Value of variable 'fault;IRRIGATION_SYSTEM' must contains expected text 'fault;IRRIGATION_SYSTEM')
  • Result score

    19:00:11 PM / 00:00:00:000 Pass

    Result score
    05.07.2024 19:00:11 05.07.2024 19:00:11 00:00:00:000 · #test-id=12
    This is not a test case. This is an informative page containing the final score of the tested application.
    StatusTimestampDetails
    Pass 7:00:11 PM Tested application for test suite 'Testování přijímání zpráv vlhkosti půdy' get 2.86 / 2.86 points
    Pass 7:00:11 PM Tested application for test suite 'Testování řízení závlahy' get 4.29 / 4.29 points
    Pass 7:00:11 PM Tested application for test suite 'Testování chybových zpráv' get 2.86 / 2.86 points
    Info 7:00:11 PM TOTAL SCORE: 10.00 / 10.00 points

Started

May 7, 2024 06:58:59 PM

Ended

May 7, 2024 07:00:11 PM

Tests Passed

12

Tests Failed

0

Tests
Log events

Timeline

Tags

NamePassedFailedSkippedOthersPassed %
Testovánípřijímánízprávvlhkostipůdy 3 0 0 0 100%
Testovánířízenízávlahy 4 0 0 0 100%
Testováníchybovýchzpráv 3 0 0 0 100%